﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// Employee:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("Employee")]
	public partial class EmployeeInfo
	{
		public EmployeeInfo()
		{}
		#region Model
		private int _id;
		private string _employeecardid;
		private string _employeename;
		private string _employeepastname;
		private string _employeeimagepath;
		private string _sex;
		private string _householdprovince;
		private string _householdcity;
		private string _spousehouseholdprovince;
		private string _spousehouseholdcity;
		private string _nativeplaceprovince;
		private string _naticeplacecity;
		private DateTime? _birthday;
		private string _age;
		private string _birthplaceprovince;
		private string _birthplacecity;
		private string _maritalstatus;
		private string _politicalstatus;
		private DateTime? _joinleaguetime;
		private string _titlelevel;
		private string _titlename;
		private string _titleno;
		private DateTime? _titletime;
		private string _highesteducation;
		private string _highesteducationtime;
		private string _highestdegree;
		private string _highestdegreetime;
		private string _cardid;
		private DateTime? _firstworktime;
		private decimal? _workingyears;
		private string _firstworkcompany;
		private string _companyworktime;
		private decimal? _companyworkingyears;
		private string _homeadress;
		private string _homeadresscode;
		private string _presentaddress;
		private string _presentaddresscode;
		private string _presentworkplace;
		private string _telephonenumber;
		private string _emergencycontact;
		private string _emergencytelephonenumber;
		private bool? _hide= false;
        private int? _userid;
        private string _deptName;
        [DataField("DeptName")]
        public string DeptName
        {
            get { return _deptName; }
            set { _deptName = value; }
        }
        private int _deptId;
        [DataField("DeptId")]
        public int DeptId
        {
            get { return _deptId; }
            set { _deptId = value; }
        }
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmployeeCardID")]
		public string EmployeeCardID
		{
			set{ _employeecardid=value;}
			get{return _employeecardid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmployeeName")]
		public string EmployeeName
		{
			set{ _employeename=value;}
			get{return _employeename;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmployeePastName")]
		public string EmployeePastName
		{
			set{ _employeepastname=value;}
			get{return _employeepastname;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmployeeImagePath")]
		public string EmployeeImagePath
		{
			set{ _employeeimagepath=value;}
			get{return _employeeimagepath;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Sex")]
		public string Sex
		{
			set{ _sex=value;}
			get{return _sex;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HouseholdProvince")]
		public string HouseholdProvince
		{
			set{ _householdprovince=value;}
			get{return _householdprovince;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HouseholdCity")]
		public string HouseholdCity
		{
			set{ _householdcity=value;}
			get{return _householdcity;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SpouseHouseholdProvince")]
		public string SpouseHouseholdProvince
		{
			set{ _spousehouseholdprovince=value;}
			get{return _spousehouseholdprovince;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SpouseHouseholdCity")]
		public string SpouseHouseholdCity
		{
			set{ _spousehouseholdcity=value;}
			get{return _spousehouseholdcity;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("NativePlaceProvince")]
		public string NativePlaceProvince
		{
			set{ _nativeplaceprovince=value;}
			get{return _nativeplaceprovince;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("NaticePlaceCity")]
		public string NaticePlaceCity
		{
			set{ _naticeplacecity=value;}
			get{return _naticeplacecity;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Birthday")]
		public DateTime? Birthday
		{
			set{ _birthday=value;}
			get{return _birthday;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Age")]
		public string Age
		{
			set{ _age=value;}
			get{return _age;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("BirthPlaceProvince")]
		public string BirthPlaceProvince
		{
			set{ _birthplaceprovince=value;}
			get{return _birthplaceprovince;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("BirthPlaceCity")]
		public string BirthPlaceCity
		{
			set{ _birthplacecity=value;}
			get{return _birthplacecity;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("MaritalStatus")]
		public string MaritalStatus
		{
			set{ _maritalstatus=value;}
			get{return _maritalstatus;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PoliticalStatus")]
		public string PoliticalStatus
		{
			set{ _politicalstatus=value;}
			get{return _politicalstatus;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("JoinLeagueTime")]
		public DateTime? JoinLeagueTime
		{
			set{ _joinleaguetime=value;}
			get{return _joinleaguetime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TitleLevel")]
		public string TitleLevel
		{
			set{ _titlelevel=value;}
			get{return _titlelevel;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TitleName")]
		public string TitleName
		{
			set{ _titlename=value;}
			get{return _titlename;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TitleNo")]
		public string TitleNo
		{
			set{ _titleno=value;}
			get{return _titleno;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TitleTime")]
		public DateTime? TitleTime
		{
			set{ _titletime=value;}
			get{return _titletime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HighestEducation")]
		public string HighestEducation
		{
			set{ _highesteducation=value;}
			get{return _highesteducation;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HighestEducationTime")]
		public string HighestEducationTime
		{
			set{ _highesteducationtime=value;}
			get{return _highesteducationtime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HighestDegree")]
		public string HighestDegree
		{
			set{ _highestdegree=value;}
			get{return _highestdegree;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HighestDegreeTime")]
		public string HighestDegreeTime
		{
			set{ _highestdegreetime=value;}
			get{return _highestdegreetime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CardID")]
		public string CardID
		{
			set{ _cardid=value;}
			get{return _cardid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("FirstWorkTime")]
		public DateTime? FirstWorkTime
		{
			set{ _firstworktime=value;}
			get{return _firstworktime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("WorkingYears")]
		public decimal? WorkingYears
		{
			set{ _workingyears=value;}
			get{return _workingyears;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("FirstWorkCompany")]
		public string FirstWorkCompany
		{
			set{ _firstworkcompany=value;}
			get{return _firstworkcompany;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CompanyWorkTime")]
		public string CompanyWorkTime
		{
			set{ _companyworktime=value;}
			get{return _companyworktime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CompanyWorkingYears")]
		public decimal? CompanyWorkingYears
		{
			set{ _companyworkingyears=value;}
			get{return _companyworkingyears;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HomeAdress")]
		public string HomeAdress
		{
			set{ _homeadress=value;}
			get{return _homeadress;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HomeAdressCode")]
		public string HomeAdressCode
		{
			set{ _homeadresscode=value;}
			get{return _homeadresscode;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PresentAddress")]
		public string PresentAddress
		{
			set{ _presentaddress=value;}
			get{return _presentaddress;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PresentAddressCode")]
		public string PresentAddressCode
		{
			set{ _presentaddresscode=value;}
			get{return _presentaddresscode;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("PresentWorkPlace")]
		public string PresentWorkPlace
		{
			set{ _presentworkplace=value;}
			get{return _presentworkplace;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TelephoneNumber")]
		public string TelephoneNumber
		{
			set{ _telephonenumber=value;}
			get{return _telephonenumber;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmergencyContact")]
		public string EmergencyContact
		{
			set{ _emergencycontact=value;}
			get{return _emergencycontact;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EmergencyTelephoneNumber")]
		public string EmergencyTelephoneNumber
		{
			set{ _emergencytelephonenumber=value;}
			get{return _emergencytelephonenumber;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Hide")]
		public bool? Hide
		{
			set{ _hide=value;}
			get{return _hide;}
		}
        /// <summary>
        /// 
        /// </summary>
        [DataField("UserId")]
        public int? UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
		#endregion Model

	}
}

